package com.xiaomaoguai.mybatisplus.generator.core;

/**
 * @fileName: TemplateType.java
 * @author: WeiHui.Zhang
 * @date: 2016-09-23  10:33
 * @version: v1.0.0
 */
public enum TemplateType {

	Service("Service.ftl"), //
	ServiceImpl("ServiceImpl.ftl"), //
	Server("Server.ftl"), //
	ServerImpl("ServerImpl.ftl"), //
	Mapper("Mapper.ftl"), //
	MapperXml("MapperXml.ftl"), //
	Model("Model.ftl"), //
	Controller("Controller.ftl");//

	private final String code;

	TemplateType(String code) {
		this.code = code;
	}

	public String getCode() {
		return this.code;
	}
}
